Ext.define("Mypocket.store.Schools", {
    extend: "Ext.data.Store",
    config: {
        model: "Mypocket.model.School",
        groupField: "district",
        proxy: {
            type: "ajax",
            url: "data/shanghai.json",
            reader: {
                type: "json",
                rootProperty: "response.schools",
                record: "school"
            }
        }
    }
});